<%@ page language="java" contentType="text/html; charset=UTF-8"
	pageEncoding="UTF-8"%>
<%
	String path = request.getContextPath();
	String basePath = request.getScheme() + "://" + request.getServerName() + ":" + request.getServerPort() + path + "/";
%>
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
	<base href="<%=basePath%>"/>
	<meta http-equiv="Content-Type" content="text/html; charset=GBK" />
	<title>获取页面提交的参数</title>
	<link href="css/style.css" rel="stylesheet" type="text/css" />
</head>
<body>
	<div class="formbody">
		<div class="formtitle">
			<span>获取页面提交的参数</span>
		</div>
		<form action="ButtonServlet" method="get">
			<ul class="forminfo">
				<li>
					<label>姓名</label><input name="name" type="text"  value="西门吹雪" class="dfinput" />
				</li>
				<li>
					<label>姓名</label><input name="name" type="text"  value="令狐冲" class="dfinput" />
				</li>
				<li>
					<label>姓名</label><input name="name" type="text"  value="花满楼" class="dfinput" />
				</li>
				<li>
					<label>口令</label><input name="password" type="text" value="天王盖地虎" class="dfinput" />
				</li>
				<li>
					<label>口令</label><input name="password" type="text" value="宝塔镇河妖" class="dfinput" />
				</li>
				
				<li style="margin-right:auto;">
					<label>input按钮</label>
					<input style="align-items: flex-end;" type="submit" name="save" value="保存" class="btn" >
					<input type="submit" name="submit" value="提交" class="btn" >
					<input type="reset" name="reset" value="重置" class="btn" >
				</li>
				<li>
					<label>button按钮</label>
					<button name="button" type="submit" class="btn" value="button提交">
						<img alt="" src="images/add.png"/>	
						button提交
					</button>
					<button name="button" type="reset" class="btn" value="button重置">button重置</button>
					<button name="button" type="button" class="btn" value="闲着">啥都不做</button>
				</li>
			</ul>
		</form>
	</div>
</body>
</html>
